package com.qf.day02;

import java.util.Scanner;

public class ifDemo {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入身高：");
        double h = scanner.nextDouble();
        System.out.println("请输入体重：");
        double w = scanner.nextDouble();

        if(h>180&&w<180){
            System.out.println("可以当模特");
        }else{
            System.out.println("不可以当模特");
        }



    }
}
